services.syncthing.settings.folders.<name>.ignorePatterns
Syncthing can be configured to ignore certain files in a folder using ignore patterns.
Enter them as a list of strings, one string per line.
See the Syncthing documentation for syntax: https://docs.syncthing.net/users/ignoring.html
Patterns set using the WebUI will be overridden if you define this option.
If you want to override the ignore patterns to be empty, use ignorePatterns = [].
Deleting the ignorePatterns option will not remove the patterns from Syncthing automatically
because patterns are only handled by the module if this option is defined. Either use
ignorePatterns = [] before deleting the option or remove the patterns afterwards using the WebUI.
- Type
null or (list of string)- Default
null- Example
[ "// This is a comment" "*.part // Firefox downloads and other things" "*.crdownload // Chrom(ium|e) downloads" ]- Declared
- <nixpkgs/nixos/modules/services/networking/syncthing.nix>